From 3f3c3cddb3a230f7919aac9e8581b3b5248fad99 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Thu, 13 Mar 2025 11:57:35 +0800 Subject: [PATCH] gui/macOS: Do not log account detail-related messages that were not sent on dead file provider socket Signed-off-by: Claudio Cambra --- src/gui/macOS/fileprovidersocketcontroller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/macOS/fileprovidersocketcontroller.cpp b/src/gui/macOS/fileprovidersocketcontroller.cpp index b8d09abf8..ae70f9fdb 100644 --- a/src/gui/macOS/fileprovidersocketcontroller.cpp +++ b/src/gui/macOS/fileprovidersocketcontroller.cpp @@ -113,7 +113,8 @@ void FileProviderSocketController::parseReceivedLine(const QString &receivedLine void FileProviderSocketController::sendMessage(const QString &message) const { if (!_socket) { - qCWarning(lcFileProviderSocketController) << "Not sending message on dead file provider socket:" << message; + const auto toLog = message.contains("ACCOUNT_DETAILS") ? "ACCOUNT_DETAILS:****" : message; + qCWarning(lcFileProviderSocketController) << "Not sending message on dead file provider socket:" << toLog; return; } -- 2.30.2